import {createStore} from 'redux';
import {counter} from './reducers';

// 生成一store对象
const store = createStore(counter); // 内部会第一次调用reducer函数的到初始state，然后在渲染组件标签

export default store;

